package cn.choujay.tlias.service;


import cn.choujay.tlias.domain.Dept;
import cn.choujay.tlias.domain.Emp;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author Ye
 * @description 针对表【dept(部门表)】的数据库操作Service
 * @createDate 2023-05-20 20:52:38
 */
public interface DeptService {

    List<Dept> getAllDept();

    Boolean addDept(Emp emp);


    Boolean deleteDept(Integer[] ids) throws Exception;

    Boolean updateDeptById(Emp emp);
}
